try this!!!!!!!!!!!

Yes, this is called 'draw by insufficient material' so the draw by three-fold repetition is unnecessary and would never take place. When a position is reached where neither could find checkmate by any means possible, it is drawn automatically per the rules of chess.
When the bishop captures the pawn, the game is drawn automatically because the King and bishop could never checkmate the black King. If the endgame was KNNvK, then the game is not automatically drawn per the rules of chess. There is generally an agreed draw because the 2 knights cannot force checkmate. However, there are positions where 2 knights and a King can checkmate a lone King. So although it takes a blunder by the defending player, it is possible for the defender to get checkmated, so the players would have to reach a draw in another manner; agreed, 50 move, 3-fold, stalemate.

Both sides could still lose because of an illegal move or whatever. However, the game will first be drawn, and then petitioned.
The draw is not agreed upon, it is automatic. Therefore, if one player wanted to resign, he would have to do so before only Kings were left.