Unions representing federal workers told a judge they believed the administration might violate a temporary ban on layoffs during the shutdown.