Dislocation reduction in AlGaN grown on patterned GaN