Shamrock Rovers moved top of the SSE Airtricity Men's Premier Division with a 3-0 win away to UCD who remain bottom.