Federal judge orders freeze on police promotions system in P