Chancellor Angela Merkel appears all but certain to win a fourth term when Germans vote Sunday after a humdrum campaign produced few divisive issues but saw smaller parties gain support — including the nationalist, anti-migration Alternative for Germany, which is set to become the most right-wing party in parliament for 60 years.