The complicated beast that Chief Executive Officer Ahmad Chatila created at SunEdison Inc., the parent company of Bethesda-based Terraform Power Inc., may be part of the reason he's still there even after the world's largest clean-energy developer filed for bankruptcy last week. It may not protect his job for long.