Swiatek reaches Montreal quarters, will stay world No. 1