Discuss the theoretical aspects of geotechnical engineering involved in the stabilization of expansive soils to prevent foundation failure.