Man receives life for Dorchester home invasion