Topologically derived dislocation theory for twist and stretch moiré superlattices in bilayer graphene