Sun wins approval for diabetes generic