A man who killed his ex-partner's sister and her three children in a house fire has been sentenced to life in prison.