More than 40,000 unionized state employees would receive $3,500 each in special bonuses by mid-July under tentative contract agreements reached this week with Gov. Ned Lamont’s administration, according to a settlement document obtained by the CT Mirror.