US judge temporarily lifts funding freeze on aid programs: Ruling