Sexton leads from the front as Ireland survive Scotland scare