McCormack triumphs over Barnaby Joyce in Nationals leadership spill