Rigidification Of Algebras Over Algebraic Theories In Diagram Categories