The federal government is considering changing national environment laws in the wake of an embarrassing federal court setback that overturned its approval of what would be Australia’s largest mine.