Defect filtering for thermal expansion induced dislocations in III–V lasers on silicon