The Czech coalition government has been left wobbling after the Pirate Party announced plans to leave.