President Trump is increasingly dismissing the consensus of health experts, scientists and some of his Republican allies that widespread testing is key to the safe end of restrictions meant to slow the spread of the deadly coronavirus, saying Friday that “testing isn’t necessary” and is an imperfect guide.