The Omani co-pilot who officials said tried to crash the plane was said to have embraced extremist Islamist views.