Churches Can Endorse Politicians, IRS Says in Court Filing