Remove unnecessary autolayout constraints.