Squash with white beans and tomatoes