Moments after a federal judge temporarily blocked President Trump’s federal funding freeze, the attorneys general of Rhode Island and 22 other states pressed ahead with a separate federal lawsuit challenging the order.