Brandon Courtney, of Dudley, subjected his former partner to a terrifying attack in her own home