The decision by Germany’s veteran chancellor comes after a series of regional election setbacks.