Ramaphosa defended for referring bills to apex court