Ultracompact quantum splitter of degenerate photon pairs