US judge in San Francisco will hear request by unions to halt mass firings of probationary workers