Bedfordshire operating theatre staff have secured a pay deal after 14 days of strikes over proposed changes to overtime.