Abdullah Khan also pleads guilty to engaging in terrorist activity in case with ‘complex psychological background’