Microscopic model of (CuCl)LaNb2O7: Coupled spin dimers replace a frustrated square lattice