Protected computational subspaces of coupled superconducting qubits