Latvian police boarded a ship docked in the port of Liepāja and opened a criminal probe after an undersea communications cable was damaged.