Man who set ex-girlfriend alight sentenced to life