President says 'certainty' needed from any abortion legislation