Historic Robert the Bruce church facing £8m in upgrade bills