A Vero Beach surgeon and the plastic surgery clinic he runs have agreed to pay $4 million to settle allegations that they improperly billed Medicare for procedures that were unnecessary or never performed.

After two sessions, 108 days and one rancorous health-care debate, the final gavels fell Friday in the House and Senate following approval of a $78.7 billion budget that settled few of the issues dividing the Capitol.

Lawmakers struck a deal Friday on how to spend about $2 billion in hospital funding in the budget year that begins July 1, clearing a key sticking point in talks about a state spending plan and potentially clearing the way to end a special session next week as scheduled.

Even as a flare-up in negotiations on economic-development spending demonstrated simmering tensions between the House and Senate, lawmakers continued Monday to try to come to agreement in two areas that helped spark an ongoing special session: funding for health care and environmental projects.

The state last month removed about 2,000 children from a specialized program that provides services to medically fragile kids, finding that they were no longer “clinically eligible” under a new screening process.