Revert "Changed max_iter to maxiter for NLP solver communality, cf. ea7be685ebf7b47102c40456d6b43eb644ae3102"

This reverts commit eedd9669b83f8f07dbfda3e8a23466e2c0575147.
Changed maxiter to max_iter for IPOPT communality