Motion Planning for Semi-Morphing Unmanned Aerial Vehicles Operating in Confined Environments