Authorities said on Saturday that they turned away two boats carrying nearly 300 people believed to be Rohingya refugees who entered the country illegally.