Rosemary pork with white beans