Jerusalem patriarch says church will take legal action to rebuild home