AMENDED AND RESTATED CREDIT AGREEMENT Dated as of February 24, 2017 among FIVE STAR QUALITY CARE, INC.,