Former Ferrari technical director Aldo Costa has parted company with the Italian car maker, the team has confirmed.