The bill sought to renew Germans' trust in their government's ability to keep megaproject spending under control.