Refactoring replaceOptAln into Biojava

Now at AlignmentTools.replaceOptAln