 A Massachusetts man, Irinio Goncalves, was sentenced yesterday to at least 18 years in prison for attempted murder. Goncalves was accused of strangling and beating the mother of his children last year in Waterville. The way has been cleared for the state's interlibrary loan program to resume. The program was suspended after a losing bidder appealed the award of a contract to provide delivery services. That bidder, Freedom Express, had held the contract for 12 years.