In a blunt ruling, the federal judge wrote that he would not thwart Republican lawmakers’ bid to pull Medicaid funds from organizations that perform abortions.