A federal judge warned he could seek Trump administration officials’ prosecution for violating his orders last month to turn around planes carrying deportees to an El Salvador prison.