Two companies owned by billionaire Clive Palmer have suffered a legal setback, with a judge setting aside prior orders enforcing two awards in a $30 billion mining dispute with the Western Australian government and criticising the companies for misleading the court.