Optimality Conditions: Abnormal and Degenerate Problems