Restoring the Pauli principle in the random phase approximation ground state