It is permissable for a person (male or female) who committed adultery to marry a chaste person. The Nikah will be perfectly valid. This is an unanimously accepted ruling.
The verses in reference is in the context of condemning perpetrators of evil beliefs and practices and merely outlines the inclination of such people to people of their ideology and belief.
and Allah Ta’ala Knows Best
Mufti Ebrahim Desai