Butternut Squash, Lentil and Tomato Loaf